package com.sk.bilibili.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;
/**
* @author 邵康
* @date 2021/12/10 00:13
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cover {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String cover;
    @TableField(exist = false)
    private MultipartFile coverFile;
    private String title;
    private Integer viewNum;
    private Integer discussNum;
    private Integer praiseNum;

}
